const HtmlWebpackPlugin = require("html-webpack-plugin");
module.exports = {
  mode: "none",
  entry: "./main.js",
  output: {
    filename: "test.bundle.js",
  },
  module: {
    rules: [
      {
        test: /\.css$/,
        use: ["style-loader","css-loader"],
      },
    ],
  },
  devServer:{
    port: 9000,
    hot: true,
  },
  plugins: [
    new HtmlWebpackPlugin({
      template:"./main.html",
    }),
  ]
};

